Skip to main content
GET
/
v1
/
organizations
/
{organization_id}
/
projects
/
{project_id}
/
dns-zones
/
{id}
/
settings
[DNS Settings] Get DNS zone settings
curl --request GET \
  --url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/dns-zones/{id}/settings \
  --header 'Authorization: Bearer <token>'
{
  "ssl_mode": "off",
  "always_use_https": true,
  "min_tls_version": "1.0",
  "automatic_https_rewrites": true,
  "cache_level": "bypass",
  "browser_cache_ttl": 2147483647,
  "development_mode": true,
  "security_level": "essentially_off",
  "rocket_loader": true,
  "early_hints": true,
  "minify_js": true,
  "minify_css": true,
  "minify_html": true
}

Documentation Index

Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).

Path Parameters

id
string
required

The unique identifier (UUID) of the DNS zone

organization_id
string<uuid>
required
project_id
string<uuid>
required

Query Parameters

sync
boolean

If true, synchronize settings from the DNS provider before returning

Response

DNS zone settings retrieved successfully

ssl_mode
enum<string>
  • off - off
  • flexible - flexible
  • full - full
  • full_strict - full strict
Available options:
off,
flexible,
full,
full_strict
always_use_https
boolean
min_tls_version
enum<string>
  • 1.0 - 1.0
  • 1.1 - 1.1
  • 1.2 - 1.2
  • 1.3 - 1.3
Available options:
1.0,
1.1,
1.2,
1.3
automatic_https_rewrites
boolean
cache_level
enum<string>
  • bypass - bypass
  • no_query_string - no query string
  • ignore_query_string - ignore query string
  • standard - standard
  • aggressive - aggressive
Available options:
bypass,
no_query_string,
ignore_query_string,
standard,
aggressive
browser_cache_ttl
integer<int64>
Required range: 0 <= x <= 4294967295
development_mode
boolean
security_level
enum<string>
  • essentially_off - essentially off
  • low - low
  • medium - medium
  • high - high
  • under_attack - under attack
Available options:
essentially_off,
low,
medium,
high,
under_attack
rocket_loader
boolean
early_hints
boolean
minify_js
boolean
minify_css
boolean
minify_html
boolean